﻿using System;
using System.Collections.Generic;

using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using WLMCoreLibrary;
using MiWebSite_Core;

namespace MWS_AddDirectory.xml
{
    public partial class _default : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            dbConnector ConexionDB = new dbConnector();
            Response.ContentType = "text/xml";

            
            Response.Write(WLMFunctions.SerializeObject(new AnuncioCollection(30, ref ConexionDB),true));

            ConexionDB.CloseConnection();
        }
    }
}